package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
import java.util.List;

/**
 * @Author liub
 * @Date 2019/11/25 8:39
 * @Version 1.0
 */

public class MatRepair extends BasePojo {
    /**
     * 产品维修流程ID
     */
    private Integer matRepairId;
    /**
     * 维修ID
     */
    private Integer repairId;
    /**
     * 物料版本ID
     */
    private Integer matVerId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;

    /*                                               新增字段                                             */

    /**
     * 维修名称
     */
    private String repairName;
    /**
     * 维修类型ID
     */
    private Integer repairTypeId;
    /**
     * 维修类型名称
     */
    private String repairTypeName;
    /**
     * 维修工序段明细ID
     */
    private Integer repairDetailId;

    private Integer orderRepairId;

    public Integer getOrderRepairId() {
        return orderRepairId;
    }

    public void setOrderRepairId(Integer orderRepairId) {
        this.orderRepairId = orderRepairId;
    }

    /**
     * @Author 熊冰   维修流程 工序流程集合
     * @Date 2019/11/25 15:17
     */
    private List<MatRepairFlow> matRepairFlowList;
    /**
     * @Author 熊冰 维修流程 采集参数集合
     * @Date 2019/11/25 15:17
     */
    private  List<MatRepairDete> matRepairDeteList;
    /**
     * 新的版本id louk
     */
    private Integer newMatVerId;

    private Integer oldMatRepairId;

    private Integer orderTechId;

    public Integer getOrderTechId() {
        return orderTechId;
    }

    public void setOrderTechId(Integer orderTechId) {
        this.orderTechId = orderTechId;
    }

    public Integer getOldMatRepairId() {
        return oldMatRepairId;
    }

    public void setOldMatRepairId(Integer oldMatRepairId) {
        this.oldMatRepairId = oldMatRepairId;
    }

    public Integer getNewMatVerId() {
        return newMatVerId;
    }

    public void setNewMatVerId(Integer newMatVerId) {
        this.newMatVerId = newMatVerId;
    }

    public Integer getRepairDetailId() {
        return repairDetailId;
    }

    public void setRepairDetailId(Integer repairDetailId) {
        this.repairDetailId = repairDetailId;
    }

    public List<MatRepairFlow> getMatRepairFlowList() {
        return matRepairFlowList;
    }

    public void setMatRepairFlowList(List<MatRepairFlow> matRepairFlowList) {
        this.matRepairFlowList = matRepairFlowList;
    }

    public List<MatRepairDete> getMatRepairDeteList() {
        return matRepairDeteList;
    }

    public void setMatRepairDeteList(List<MatRepairDete> matRepairDeteList) {
        this.matRepairDeteList = matRepairDeteList;
    }

    public Integer getMatRepairId() {
        return matRepairId;
    }

    public void setMatRepairId(Integer matRepairId) {
        this.matRepairId = matRepairId;
    }

    public Integer getRepairId() {
        return repairId;
    }

    public void setRepairId(Integer repairId) {
        this.repairId = repairId;
    }

    public Integer getMatVerId() {
        return matVerId;
    }

    public void setMatVerId(Integer matVerId) {
        this.matVerId = matVerId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getRepairName() {
        return repairName;
    }

    public void setRepairName(String repairName) {
        this.repairName = repairName;
    }

    public Integer getRepairTypeId() {
        return repairTypeId;
    }

    public void setRepairTypeId(Integer repairTypeId) {
        this.repairTypeId = repairTypeId;
    }

    public String getRepairTypeName() {
        return repairTypeName;
    }

    public void setRepairTypeName(String repairTypeName) {
        this.repairTypeName = repairTypeName;
    }
}